<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>{% block title %}wJ cOnTacT {% endblock %}</title>

<script type="text/javascript" src="/sitemedia/js/jquery.js"></script>

{% block external %} {% endblock %}  
<!-- by default, use the following stylesheet --> 
<link id="css" rel="stylesheet" type="text/css" href="/sitemedia/css/grey_jan.css" />
</head>

{% load cbv_tags %}
<body>
{% block headerbar %}
<h3>Computerbank Django Database Test Site</h3>

{% if user.is_authenticated %}
    <p id="logged_in_message" >You are logged in as
    <strong> {{ user.username }} </strong>
    </p>
   {% else %}
    <p id="not_logged_in_message"> You are 
    <strong> not logged in. </strong> </p>
{% endif %}
    
 {% if messages %}
 <ul class="messagelist">
   {% for message in messages %} <li>{{ message|escape }}</li> 
   {% endfor %} 
 </ul>
 {% endif %}

{% endblock headerbar %}

<div id="sidebar">
{% block sidebar %} 
Default Sidebar Content - Here is where left-side nav-links would be, if appropriate. 
{% endblock sidebar %}
</div>

<div id="hold_tabs_content_and_forms">
{% block tabs_bar %}{% endblock tabs_bar %}
{% block content %}{% endblock content %}
{% block forms %} {% endblock forms %}
</div> <!-- end div id="hold_tabs_forms_and_content" -->


{% block footer %}

<a style="float: right;" href="http://www.djangoproject.com/"><img src="/sitemedia/img/django/djangosite80x15_grey.gif" border="0" alt="A Django site." title="A Django site." /></a>

{% endblock footer %}

</body>
</html>